-- GENERATED SPELL FOR [Antlered Courser] --


function spell0_4018(pUnit, Event) --@Rushing Charge,Self--
pUnit:FullCastSpellOnTarget(6268,pUnit)
pUnit:RegisterEvent('Sorts_4018', 3000, 1)
end

function Sorts_4018(pUnit, Event)
local choix_sorts_4018 = math.random(0, 0)
if choix_sorts_4018 == 0 then
pUnit:RegisterEvent('spell0_4018', 1, 1)
end
end

function mob4018_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4018', math.random(1500, 3000), 1)
end

function mob4018_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4018_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4018_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4018, 1, 'mob4018_Action')
RegisterUnitEvent(4018, 2, 'mob4018_Leave')
RegisterUnitEvent(4018, 3, 'mob4018_Kill')
RegisterUnitEvent(4018, 4, 'mob4018_Die')
